import {createPinia} from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'

// 创建pinia实例
const pinia = createPinia()

// 使用持久化插件
pinia.use(piniaPluginPersistedstate)

// 导出pinia实例和各个store
export default pinia

export * from './UserLocalSession.js'

export * from './MenuSessionStore.js'

export * from './CommonLocalStore.js'
